<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=emulateie7" />
<title><?php echo $title;?></title>
<meta name="keywords" content="<?php echo $keywords;?>" />
<meta name="description" content="<?php echo $description;?>" />
<link type="image/x-icon" rel="shortcut icon" href="/images/icon.gif" />
<link type="text/css" rel="stylesheet" href="/css/all.css" media="all"
	id="mystyle" />
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/globle.js"></script>
<script type="text/javascript" src="/js/thickbox.js"></script>
<script type="text/javascript" src="/js/jquery.validate.js"></script>
</head>
<body>
	<!--wrapper begin-->
	<div id="wrapper">
		<!--header begin-->
		<div id="header">
			<div class="iheader">
				<div class="logo">
					<a href="/">
						<img src="/images/logo.gif" alt="" />
					</a>
				</div>
				
				<?php if(isset($username)):?><div class="quickMenu">
					<a href="/sign_out" rel="nofollow"> Logout </a>
					<span> |</span>
					<a href="/user_mag" rel="nofollow"> My Account </a>
					<span> |</span>
					<a href="/user_mag/wishlist" rel="nofollow"> Wishlist </a>
				</div><?php else:?>
      <div class="quickMenu">
					<a href="/sign_l" rel="nofollow"> Login </a>
					<span> |</span>
					<a href="/sign_r" rel="nofollow"> Register </a>
					<span>|</span>
					<a href="/user_mag/wishlist" rel="nofollow"> Wishlist </a>
				</div><?php endif;?>
				<div class="basket">
					My Bag:
					<a href="/shippingcart/add_to_cart"><?php echo $pro_item;?> item(s)</a>
				</div>
				<div class="currency">
					<a href="/currency/EUR" class="eur" rel="nofollow"></a>
					<a href="/currency/USD" class="usd" rel="nofollow"></a>
					<a href="/currency/GBP" class="gbp" rel="nofollow"></a>
				</div>
				<div class="nav">
					<ul>
						<li>
							<a href="/">
								<span>HOME</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="#">
								<span>REPLICA WATCHES</span>
							</a>
							<ul>
								<li class="icon"></li>
								<?php foreach ($categorys as $key=>$item):?>
								<?php if($key%10 == 0):?>
								
								<li>
									<dl>
										<dd>
											<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
										</dd>
								<?php elseif($key%10 == 9):?>
										<dd>
											<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
										</dd>
									</dl>
								</li>
								<?php else:?>
							
								<dd>
									<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
								</dd>
										
								<?php endif;?>
								<?php endforeach;?>
								<?php if(count($categorys)%10 != 0):?>
								</dl>
								</li>
								<?php endif;?>
							</ul>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/omega">
								<span>OMEGA</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/breitling">
								<span>BREITLING</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/cartier">
								<span>CARTIER</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/contactus">
								<span>CONTACT US</span>
							</a>
						</li>
						<li class="icon"></li>
						<li>
							<a href="/faq">
								<span>FAQ</span>
							</a>
						</li>
					</ul>
				</div>
				<div class="liveChat">
					<?php echo isset($username)?'welcome '.$username:'';?>
				</div>
				
				<script type="text/javascript">menu(".nav")</script>
			</div>
		</div>
		<!--header end-->
		<!--container begin-->
		<div id="container" class="fix">
			<div id="main">
				<div class="crumb">
					<a href="/">Home</a>
					&gt; <?php 
			
					if($cate_p['cateurl'] != $cate_c['cateurl']){
					
						echo '<a href="/'.$cate_p['cateurl'].'">'.$cate_p['catename'].'</a>';
						
						echo '&gt;<a href="/'.$cate_c['cateurl'].'">'.$cate_c['catename'].'</a>';
					
					}else{
						
						echo '<a href="/'.$cate_c['cateurl'].'">'.$cate_c['catename'].'</a>';

					}
			
			?>
					&gt; <a href="<?php echo $product_info['product_url'];?>"><?php echo $product_info['product_name'];?></a>
				</div>
				<div class="detail">
                <div class="productItem">
						<div class="prImg fll">
    <div class="prBig fll" id="big"><span><img src="<?php echo str_replace('180','400',$product_info['product_images'][0]);?>"  style="width:400px;hight:400px;" class="myImgs"
									bigimg="<?php echo str_replace('180','400',$product_info['product_images'][0]);?>" alt="" /></span></div>
    <div class="prSmall fll">
      <div class="prSlist fll">
        <div><?php foreach ($product_info['product_images'] as $item):?>
										<a>
											<img src="<?php echo str_replace('180','60',$item);?>" imgb="<?php echo str_replace('180','400',$item);?>"
												style="width:60px;hight:60px;" bigimg="<?php echo str_replace('180','400',$item);?>" alt="" />
										</a>
										<?php endforeach;?></div>
      </div>
     </div>
  </div>
					</div>
					<div class="productDetail">
						<h1><?php echo $product_info['product_name'];?></h1>
						<div class="info">
							<p>sku:<?php echo $product_info['sku'];?></p>
							<p>Gender/Size: <?php echo $product_info['gender'];?></p>
						</div>
						<div class="price">
							<p>Regular Price:<?php echo $symbol.$product_info['product_oprice'];?></p>
							<p>
								Was:
								<del><?php echo $symbol.$product_info['product_oprice']*0.8;?></del>
							</p>
							<p class="now">Now: <?php echo $symbol.$product_info['product_price'];?></p>
						</div>
						<div class="review">
							<span class="star star5"></span>
							
						</div>
						<div class="review">
							
						</div>
						<form id="product_form" action="/shippingcart/add_to_cart" method="post">
						
						<input id="pid" name="product_id" value="<?php echo $product_info['product_id']?>" type="hidden">
						<input name="img" value="<?php echo str_replace('180','60',$product_info['product_images'][0]);?>" type="hidden">
							<div>
								<label>
									<span>Quantity:</span>
									<select name="qty" class="qsSelect">
										<option value="1">1</option>
										<option value="2">2</option>
										<option value="3">3</option>
										<option value="4">4</option>
										<option value="5">5</option>
										<option value="6">6</option>
										<option value="7">7</option>
										<option value="8">8</option>
										<option value="9">9</option>
									</select>
								</label>
							</div>
							<div class="stock">
								Availability:
								<?php if($product_info['stock']): ?>
								<span class="instock">In Stock</span>
								<?php  else:?>
								<span class="outstock">Out of Stock</span>
								<?php endif;?>
							</div>
							<div class="actions">
								<input type="image" src="/images/addcart.gif" class="fll" <?php if(!$product_info['stock']){echo 'disabled="disabled"';}?>/>
								<a href="/user_mag/addwishlist/<?php echo $product_info['product_id'];?>" class="addWish" rel="nofollow" >Add To Wishlist </a>
							</div>
						</form>
					</div>
					<div class="tabs">
						<ul class="desTab">
							<li class="on">
								<a>Description</a>
							</li>
							<li>
								<a>Delivery</a>
							</li>
							
						</ul>
						<div class="reviewCon">
							<div><?php echo $product_info['product_desc'];?></div>
							<div style="display: none">All orders are shipped via the
								&quot;Signed for&quot;and traceable service of parcel force and
								EMS</div>
							
						</div>
					</div>
				</div>
				<div class="alsoLike">
					<h3>You May Also Like</h3>
					<div class="list">
						<ul>
       <?php foreach ($more_products as $key=>$item):?>
            <li class="box" onmouseover="changeStyle(this);"
								onmouseout="changeStyle(this);">
								<div class="pic">
									<a href="<?php echo $item['product_url']?>">
                                                                            <img src="<?php echo $item['product_images']?>" style="width:180px;height:180px; " alt="" />
									</a>
								</div>
								<div class="name">
									<a href="<?php echo $item['product_url']?>" title=""><?php echo $item['product_name']?></a>
								</div>
								<p class="retail">Regular Price:$<?php echo $item['product_oprice']?></p>
								<p class="was">
									Was:
									<del>$<?php echo $item['product_oprice']*0.8?> </del>
								</p>
								<p class="now">Now: $<?php echo $item['product_price']?></p>
								<div class="sale"></div>
							</li>
            <?php endforeach;?>
          </ul>
					</div>
				</div>
			</div>
			<div id="aside">
				<ul>
					<li class="first"></li>
        <?php foreach ($categorys as $item):?>
        <li>
						<a href="/<?php echo $item['cateurl']?>"><?php echo $item['catename']?></a>
					</li>
        <?php endforeach;?>
        <li class="last"></li>
				</ul>
			</div>
			<script type="text/javascript">
		tab(".tabs .desTab",".tabs .reviewCon","on","click");
	</script>
		</div>
		<!--container end-->

